{include file="$header" /}
<div class="login-wrapper">
    <div class="login-container">
        <div class="login-body">
            {include file="login/side" /}
            <div class="login-form">
                <div class='login-form-content'>
                    <div class="mk-login-warp">
                        <div class="login-title">管理员登录</div>
                        <div class="login-ctitle">ADMIN USER LOGIN</div>
                        <mk-login-form @success-login="success($event)"></mk-login-form>
                    </div>
                </div>
            </div>
        </div>
        {include file="login/footer" /}
    </div>
</div>
{include file="$component" /}
<script>
    new Vue({
        el: '#app',
        methods: {
        	/**
        	 * 登录成功
        	 * @param  {Object} url 返回值
        	 */
            success(url) {
                location.href = url;
            }
        },
    })
</script>
{include file="$footer" /}